package org.maven1.mavenproject1spring1;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 *
 */
public class App {

    public static void main(String[] args) {

        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"context.xml"});
//        B b = (B) context.getBean("b");
//        b.imprimirPorPantalla();
//
//        A a = (A) context.getBean("a");
//        a.imprimirPorConsola();
//        a.getB().imprimirPorPantalla();



    }
}
